/**
 * @author Mouarf
 */
package com.luginf.utils;

import java.math.BigDecimal;
import java.text.NumberFormat;
import java.util.Locale;

/**
 * @author Mouarf
 *
 */
public class BigDecimalUtils {

	/**
	 * Format price to user format
	 * @param price
	 * @param locale
	 * @return String
	 */
	public static final String formatToUser(BigDecimal price, Locale locale) {
		NumberFormat format = NumberFormat.getNumberInstance(locale);
		return format.format(price);
	}
}
